text/template/parse.Tree.newVariable (method)

5 uses

	text/template/parse (current package)
		node.go#L396: func (t *Tree) newVariable(pos Pos, ident string) *VariableNode {
		parse.go#L459: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L463: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L710: 			node = t.newVariable(chain.Position(), chain.String())
		parse.go#L787: 	v := t.newVariable(pos, name)